//
//  LuaCATransform3D.m
//  MapKitExample
//
//  Created by liwei on 13-11-3.
//
//

#import "LuaCATransform3D.h"

@implementation LuaCATransform3D

+ (CATransform3D)CATransform3DIdentityV
{
	return CATransform3DIdentity;
}

+ (BOOL)CATransform3DIsIdentityT:(CATransform3D) t
{
    return CATransform3DIsIdentity(t);
}

+ (BOOL)CATransform3DEqualToTransformA:(CATransform3D)a b:(CATransform3D)b
{
    return CATransform3DEqualToTransform(a, b);
}

+ (CATransform3D)CATransform3DMakeTranslationTx:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz
{
    return CATransform3DMakeTranslation(tx, ty, tz);
}

+ (CATransform3D)CATransform3DMakeScaleSx:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz
{
    return CATransform3DMakeScale(sx, sy, sz);
}

+ (CATransform3D)CATransform3DMakeRotationAngle:(CGFloat)angle x:(CGFloat)x y:(CGFloat)y z:(CGFloat)z
{
    return CATransform3DMakeRotation(angle, x, y, z);
}

+ (CATransform3D)CATransform3DTranslateT:(CATransform3D)t tx:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz
{
    return CATransform3DTranslate(t, tx, ty, tz);
}

+ (CATransform3D)CATransform3DScaleT:(CATransform3D)t sx:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz
{
    return CATransform3DScale(t, sx, sy, sz);
}

+ (CATransform3D)CATransform3DRotateT:(CATransform3D)t angle:(CGFloat)angle x:(CGFloat)x y:(CGFloat)y z:(CGFloat) z
{
    return CATransform3DRotate(t, angle, x, y, z);
}

+ (CATransform3D)CATransform3DConcatA:(CATransform3D)a b:(CATransform3D)b
{
    return CATransform3DConcat(a, b);
}

+ (CATransform3D)CATransform3DInvertT:(CATransform3D)t
{
    return CATransform3DInvert(t);
}

+ (CATransform3D)CATransform3DMakeAffineTransformM:(CGAffineTransform)m
{
    return CATransform3DMakeAffineTransform(m);
}

+ (BOOL)CATransform3DIsAffineT:(CATransform3D)t
{
    return CATransform3DIsAffine(t);
}

+ (CGAffineTransform)CATransform3DGetAffineTransformT:(CATransform3D)t
{
    return CATransform3DGetAffineTransform(t);
}

@end
